<?php
<object class="Veh_Fuel_Create" name="Veh_Fuel_Create" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Veh_Fuel_Create</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">600</property>
  <property name="IsMaster">0</property>
  <property name="Name">Veh_Fuel_Create</property>
  <property name="UseAjax">1</property>
  <property name="Width">1079</property>
  <property name="OnCreate">Veh_Fuel_CreateCreate</property>
  <property name="jsOnLoad">Veh_Fuel_CreateJSLoad</property>
  <object class="JTDivWindow" name="JTDivDealer" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Fuel Dealer Name</property>
    <property name="Height">251</property>
    <property name="Left">109</property>
    <property name="Name">JTDivDealer</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">349</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox3" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox3</property>
      <property name="SiteTheme"></property>
      <property name="Top">33</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listDealer" >
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">10</property>
        <property name="Name">listDealer</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">41</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edDealer" >
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">10</property>
        <property name="Name">edDealer</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">15</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelDealer" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">214</property>
        <property name="Name">btnDelDealer</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelDealerJSClick</property>
      </object>
      <object class="Button" name="btnaddDealer" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">214</property>
        <property name="Name">btnaddDealer</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">15</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnaddDealerJSClick</property>
      </object>
    </object>
  </object>
  <object class="Image" name="Image3" >
    <property name="Border">0</property>
    <property name="Height">30</property>
    <property name="ImageSource">image/add_fuel.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image3</property>
    <property name="ParentShowHint">image/add_fuel.png</property>
    <property name="Top">34</property>
    <property name="Width">934</property>
  </object>
  <object class="Label" name="lblDate" >
    <property name="Caption">Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">92</property>
    <property name="Name">lblDate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">87</property>
    <property name="Width">29</property>
  </object>
  <object class="Edit" name="edOdLast" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">130</property>
    <property name="Name">edOdLast</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">113</property>
    <property name="Width">135</property>
    <property name="jsOnKeyUp">edOdLastJSKeyUp</property>
  </object>
  <object class="Label" name="lblLastOdometer" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Previous Odometer:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">14</property>
    <property name="Name">lblLastOdometer</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">117</property>
    <property name="Width">113</property>
  </object>
  <object class="Label" name="lblOdometerNow" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Current Odometer:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">269</property>
    <property name="Name">lblOdometerNow</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">117</property>
    <property name="Width">114</property>
  </object>
  <object class="Edit" name="edOdNow" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">387</property>
    <property name="Name">edOdNow</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">113</property>
    <property name="Width">145</property>
    <property name="jsOnKeyUp">edOdNowJSKeyUp</property>
  </object>
  <object class="Label" name="lblMiles" >
    <property name="Caption">Km:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">563</property>
    <property name="Name">lblMiles</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">117</property>
    <property name="Width">27</property>
  </object>
  <object class="Edit" name="edMiles" >
    <property name="Color">#D2D2D2</property>
    <property name="Height">21</property>
    <property name="Left">590</property>
    <property name="Name">edMiles</property>
    <property name="ParentColor">0</property>
    <property name="ReadOnly">1</property>
    <property name="TabOrder"></property>
    <property name="Top">113</property>
    <property name="Width">145</property>
  </object>
  <object class="Edit" name="edGallons" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">130</property>
    <property name="Name">edGallons</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">179</property>
    <property name="Width">135</property>
    <property name="jsOnBlur">edGallonsJSBlur</property>
    <property name="jsOnKeyUp">edGallonsJSKeyUp</property>
  </object>
  <object class="Label" name="lblTotal" >
    <property name="Caption">Total:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">555</property>
    <property name="Name">lblTotal</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">182</property>
    <property name="Width">31</property>
  </object>
  <object class="Edit" name="edTotCost" >
    <property name="Color">#D2D2D2</property>
    <property name="Height">21</property>
    <property name="Left">590</property>
    <property name="Name">edTotCost</property>
    <property name="ParentColor">0</property>
    <property name="TabOrder"></property>
    <property name="Top">179</property>
    <property name="Width">145</property>
  </object>
  <object class="ComboBox" name="cmbAccount" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">130</property>
    <property name="Name">cmbAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">11</property>
    <property name="Top">210</property>
    <property name="Width">265</property>
  </object>
  <object class="Label" name="lblAccount" >
    <property name="Caption">Account:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">77</property>
    <property name="Name">lblAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">214</property>
    <property name="Width">45</property>
  </object>
  <object class="ComboBox" name="cmbDriver" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">470</property>
    <property name="Name">cmbDriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">13</property>
    <property name="Top">210</property>
    <property name="Width">265</property>
  </object>
  <object class="Label" name="lblDriver" >
    <property name="Caption">Driver:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">427</property>
    <property name="Name">lblDriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">214</property>
    <property name="Width">35</property>
  </object>
  <object class="ComboBox" name="cmbBrand" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">387</property>
    <property name="Name">cmbBrand</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">144</property>
    <property name="Width">130</property>
    <property name="jsOnChange">cmbBrandJSChange</property>
  </object>
  <object class="Label" name="lblBrand" >
    <property name="Caption">Brand:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">345</property>
    <property name="Name">lblBrand</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">148</property>
    <property name="Width">40</property>
  </object>
  <object class="ComboBox" name="cmbDealer" >
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">626</property>
    <property name="Name">cmbDealer</property>
    <property name="TabOrder">10</property>
    <property name="Top">423</property>
    <property name="Visible">0</property>
    <property name="Width">250</property>
  </object>
  <object class="Label" name="lblDealer" >
    <property name="Caption">Dealer:</property>
    <property name="Height">11</property>
    <property name="Left">582</property>
    <property name="Name">lblDealer</property>
    <property name="Top">427</property>
    <property name="Visible">0</property>
    <property name="Width">42</property>
  </object>
  <object class="ComboBox" name="cmbCity" >
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">626</property>
    <property name="Name">cmbCity</property>
    <property name="TabOrder">14</property>
    <property name="Top">451</property>
    <property name="Visible">0</property>
    <property name="Width">250</property>
  </object>
  <object class="Label" name="lblCity" >
    <property name="Caption">City:</property>
    <property name="Height">13</property>
    <property name="Left">595</property>
    <property name="Name">lblCity</property>
    <property name="Top">455</property>
    <property name="Visible">0</property>
    <property name="Width">24</property>
  </object>
  <object class="ComboBox" name="cmbType" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">590</property>
    <property name="Name">cmbType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">144</property>
    <property name="Width">125</property>
    <property name="jsOnChange">cmbTypeJSChange</property>
  </object>
  <object class="Label" name="lblType" >
    <property name="Caption">Type:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">554</property>
    <property name="Name">lblType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">148</property>
    <property name="Width">31</property>
  </object>
  <object class="Memo" name="memoComments" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">65</property>
    <property name="Left">130</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">14</property>
    <property name="Top">242</property>
    <property name="Width">605</property>
  </object>
  <object class="Label" name="lblComments" >
    <property name="Caption">Comments:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">58</property>
    <property name="Name">lblComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">242</property>
    <property name="Width">69</property>
  </object>
  <object class="HiddenField" name="hiddenLine" >
    <property name="Height">18</property>
    <property name="Left">341</property>
    <property name="Name">hiddenLine</property>
    <property name="Top">6</property>
    <property name="Width">200</property>
  </object>
  <object class="Label" name="lblEngine" >
    <property name="Caption">Engine:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">80</property>
    <property name="Name">lblEngine</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">149</property>
    <property name="Width">42</property>
  </object>
  <object class="Edit" name="edEngine" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">130</property>
    <property name="Name">edEngine</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">144</property>
    <property name="Width">135</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">*Price/Liter:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">318</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">183</property>
    <property name="Width">65</property>
  </object>
  <object class="Edit" name="edPrice" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">387</property>
    <property name="Name">edPrice</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">10</property>
    <property name="Top">179</property>
    <property name="Width">145</property>
    <property name="jsOnBlur">edPriceJSBlur</property>
    <property name="jsOnKeyUp">edPriceJSKeyUp</property>
  </object>
  <object class="Image" name="imgBack" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">45</property>
    <property name="ImageSource">image/btn_back.png</property>
    <property name="Left">1024</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgBack</property>
    <property name="Width">45</property>
    <property name="jsOnMouseOut">imgBackJSMouseOut</property>
    <property name="jsOnMouseOver">imgBackJSMouseOver</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">*Liters:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">82</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">182</property>
    <property name="Width">40</property>
  </object>
  <object class="Button" name="btnShowAccount" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add fuel account</property>
    <property name="Left">395</property>
    <property name="Name">btnShowAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">12</property>
    <property name="Top">210</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowAccountJSClick</property>
  </object>
  <object class="Button" name="btnShowFuel" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add fuel brand</property>
    <property name="Left">517</property>
    <property name="Name">btnShowFuel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">6</property>
    <property name="Top">144</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowFuelJSClick</property>
  </object>
  <object class="Button" name="btnShowDealer" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Height">20</property>
    <property name="Hint">add dealer name</property>
    <property name="Left">876</property>
    <property name="Name">btnShowDealer</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">11</property>
    <property name="Top">423</property>
    <property name="Visible">0</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowDealerJSClick</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">863</property>
    <property name="Name">compid</property>
    <property name="Top">34</property>
    <property name="Width">200</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxAccount2(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('accountajax.php','cmbAccount',compid);
  AjaxAccount('accountajax.php','listAccount',compid);

  }
  }
  var url='addaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">58</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxAccount(urlget,elemidtochange,compid)
{
var httpxml;
try
{
// Firefox, Opera 8.0+, Safari
httpxml=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
}
catch (e)
{
try
{
httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
}
catch (e)
{
alert(&quot;Your browser does not support AJAX!&quot;);
return false;
}
}
}
function stateck()
{
if(httpxml.readyState==4)
{
var myarray=eval(httpxml.responseText);
// Before adding new we must remove previously loaded elements
for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
{
document.getElementById(elemidtochange).remove(j);
}
for (i=0;i&lt;myarray.length;i++)
{
var objDropdown = document.getElementById(elemidtochange);
var objOption = new Option(myarray[i][0],myarray[i][1]);
objDropdown.options[objDropdown.length] = objOption;
}
}
}
var url=urlget;
url=url+&quot;?compider=&quot;+compid;
httpxml.onreadystatechange=stateck;
httpxml.open(&quot;GET&quot;,url,true);
httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">79</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxAccount3(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('accountajax.php','cmbAccount',compid);
  AjaxAccount('accountajax.php','listAccount',compid);
  }
  }
  var url='delaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">100</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript4" >
    <property name="Code"><![CDATA[function AjaxFuel2(fu,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxFuel('fuelajax.php','cmbBrand',compid);
  AjaxFuel('fuelajax.php','listFuel',compid);

  }
  }
  var url='addfuelajax.php';
  url=url+&quot;?val=&quot;+fu;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript4</property>
    <property name="Top">121</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript5" >
    <property name="Code"><![CDATA[function AjaxFuel(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript5</property>
    <property name="Top">142</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript6" >
    <property name="Code"><![CDATA[function AjaxFuel3(fu,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxFuel('fuelajax.php','cmbBrand',compid);
  AjaxFuel('fuelajax.php','listFuel',compid);
  }
  }
  var url='delfuelajax.php';
  url=url+&quot;?val=&quot;+fu;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript6</property>
    <property name="Top">163</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript7" >
    <property name="Code"><![CDATA[function AjaxDealer2(de,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDealer('dealerajax.php','cmbDealer',compid);
  AjaxDealer('dealerajax.php','listDealer',compid);

  }
  }
  var url='adddealerajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript7</property>
    <property name="Top">184</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript8" >
    <property name="Code"><![CDATA[function AjaxDealer(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript8</property>
    <property name="Top">204</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript9" >
    <property name="Code"><![CDATA[function AjaxDealer3(de,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDealer('dealerajax.php','cmbDealer',compid);
  AjaxDealer('dealerajax.php','listDealer',compid);
  }
  }
  var url='deldealerajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">770</property>
    <property name="Name">JTJavaScript9</property>
    <property name="Top">226</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript10" >
    <property name="Code"><![CDATA[function AjaxCity2(ci,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxCity('cityajax.php','cmbCity',compid);
  AjaxCity('cityajax.php','listCity',compid);

  }
  }
  var url='addcityajax.php';
  url=url+&quot;?val=&quot;+ci;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">922</property>
    <property name="Name">JTJavaScript10</property>
    <property name="Top">58</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript11" >
    <property name="Code"><![CDATA[function AjaxCity(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">922</property>
    <property name="Name">JTJavaScript11</property>
    <property name="Top">79</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript12" >
    <property name="Code"><![CDATA[function AjaxCity3(ci,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxCity('cityajax.php','cmbCity',compid);
  AjaxCity('cityajax.php','listCity',compid);
  }
  }
  var url='delcityajax.php';
  url=url+&quot;?val=&quot;+ci;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">922</property>
    <property name="Name">JTJavaScript12</property>
    <property name="Top">100</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnShowCity" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Height">20</property>
    <property name="Hint">add city</property>
    <property name="Left">876</property>
    <property name="Name">btnShowCity</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">15</property>
    <property name="Top">451</property>
    <property name="Visible">0</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowCityJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript13" >
    <property name="Code"><![CDATA[function AjaxType2(ty,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxType('gradetypeajax.php','cmbType',compid);
  AjaxType('gradetypeajax.php','listType',compid);

  }
  }
  var url='addgradetypeajax.php';
  url=url+&quot;?val=&quot;+ty;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">922</property>
    <property name="Name">JTJavaScript13</property>
    <property name="Top">121</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript14" >
    <property name="Code"><![CDATA[function AjaxType(urlget,elemidtochange,compid)
{
var httpxml;
try
{
// Firefox, Opera 8.0+, Safari
httpxml=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
}
catch (e)
{
try
{
httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
}
catch (e)
{
alert(&quot;Your browser does not support AJAX!&quot;);
return false;
}
}
}
function stateck()
{
if(httpxml.readyState==4)
{
var myarray=eval(httpxml.responseText);
// Before adding new we must remove previously loaded elements
for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
{
document.getElementById(elemidtochange).remove(j);
}
for (i=0;i&lt;myarray.length;i++)
{
var objDropdown = document.getElementById(elemidtochange);
var objOption = new Option(myarray[i][0],myarray[i][1]);
objDropdown.options[objDropdown.length] = objOption;
}
}
}
var url=urlget;
url=url+&quot;?compider=&quot;+compid;
httpxml.onreadystatechange=stateck;
httpxml.open(&quot;GET&quot;,url,true);
httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">922</property>
    <property name="Name">JTJavaScript14</property>
    <property name="Top">142</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript15" >
    <property name="Code"><![CDATA[function AjaxType3(ty,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxType('gradetypeajax.php','cmbType',compid);
  AjaxType('gradetypeajax.php','listType',compid);
  }
  }
  var url='delgradetypeajax.php';
  url=url+&quot;?val=&quot;+ty;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">19</property>
    <property name="Left">922</property>
    <property name="Name">JTJavaScript15</property>
    <property name="Top">163</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnShowType" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add fuel type/grade</property>
    <property name="Left">715</property>
    <property name="Name">btnShowType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">8</property>
    <property name="Top">144</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowTypeJSClick</property>
  </object>
  <object class="DateTimePicker" name="dpdate" >
    <property name="Caption">dpdate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">18</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">130</property>
    <property name="Name">dpdate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">85</property>
    <property name="Width">135</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">58</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">15</property>
    <property name="Top">319</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">140</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">16</property>
    <property name="Top">319</property>
    <property name="Width">75</property>
    <property name="OnClick">btnCancelClick</property>
  </object>
  <object class="Label" name="lblftype" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">18</property>
    <property name="Name">lblftype</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">10</property>
    <property name="Visible">0</property>
    <property name="Width">91</property>
  </object>
  <object class="JTDivWindow" name="JTDivCity" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">City</property>
    <property name="Height">251</property>
    <property name="Left">11</property>
    <property name="Name">JTDivCity</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">348</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox4" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox4</property>
      <property name="SiteTheme"></property>
      <property name="Top">33</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listCity" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listCity</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">42</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edCity" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edCity</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelCity" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">216</property>
        <property name="Name">btnDelCity</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelCityJSClick</property>
      </object>
      <object class="Button" name="btnAddCity" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">216</property>
        <property name="Name">btnAddCity</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddCityJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTDivWindow" name="JTDivType" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Fuel Type/Grade</property>
    <property name="Height">251</property>
    <property name="Left">685</property>
    <property name="Name">JTDivType</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">319</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox5" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox5</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listType" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">13</property>
        <property name="Name">listType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">44</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edType" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">13</property>
        <property name="Name">edType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelType" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">217</property>
        <property name="Name">btnDelType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">172</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelTypeJSClick</property>
      </object>
      <object class="Button" name="btnAddType" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">217</property>
        <property name="Name">btnAddType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddTypeJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTDivWindow" name="JTDivFuel" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Fuel Brand</property>
    <property name="Height">251</property>
    <property name="Left">350</property>
    <property name="Name">JTDivFuel</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">336</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox2" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox2</property>
      <property name="SiteTheme"></property>
      <property name="Top">33</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listFuel" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listFuel</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edFuel" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edFuel</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelFuel" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelFuel</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">171</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelFuelJSClick</property>
      </object>
      <object class="Button" name="btnAddFuel" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddFuel</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddFuelJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTDivWindow" name="JTDivAccount" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Account</property>
    <property name="Height">251</property>
    <property name="Left">328</property>
    <property name="Name">JTDivAccount</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">333</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox1" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox1</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listAccount" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edAccount" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">171</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelAccountJSClick</property>
      </object>
      <object class="Button" name="btnAddAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddAccountJSClick</property>
      </object>
    </object>
  </object>
  <object class="Label" name="lblcurrod" >
    <property name="Caption">lblcurrod</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">387</property>
    <property name="Name">lblcurrod</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">101</property>
    <property name="Width">145</property>
  </object>
  <object class="Label" name="lblli" >
    <property name="Caption">lblli</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">130</property>
    <property name="Name">lblli</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">166</property>
    <property name="Width">135</property>
  </object>
  <object class="Label" name="lblprice" >
    <property name="Caption">lblprice</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">387</property>
    <property name="Name">lblprice</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">166</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr; This field is required &amp;darr;';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">172</property>
    <property name="Name">JSValidate</property>
    <property name="Top">6</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">122</property>
    <property name="Name">hfError</property>
    <property name="Top">6</property>
    <property name="Width">128</property>
  </object>
  <object class="Label" name="Label12" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">6</property>
    <property name="Name">Label12</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">65</property>
    <property name="Width">115</property>
  </object>
  <object class="JTJavaScript" name="JSRoundDecimal" >
    <property name="Code">function roundNumber(num, dec) {
	var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
	return result;
}</property>
    <property name="Height">20</property>
    <property name="Left">535</property>
    <property name="Name">JSRoundDecimal</property>
    <property name="Top">6</property>
    <property name="Width">180</property>
  </object>
  <object class="ComboBox" name="cmbmode" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items"><![CDATA[a:4:{s:6:&quot;Select&quot;;s:10:&quot;--Select--&quot;;s:4:&quot;Cash&quot;;s:4:&quot;Cash&quot;;s:9:&quot;FleetCard&quot;;s:10:&quot;Fleet Card&quot;;s:6:&quot;Credit&quot;;s:11:&quot;Credit Card&quot;;}]]></property>
    <property name="Left">387</property>
    <property name="Name">cmbmode</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">84</property>
    <property name="Width">145</property>
    <property name="jsOnChange">cmbmodeJSChange</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Alignment">agRight</property>
    <property name="Caption">Mode of Payment:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">269</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">88</property>
    <property name="Width">114</property>
  </object>
  <object class="Edit" name="edNo" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">590</property>
    <property name="Name">edNo</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">83</property>
    <property name="Width">145</property>
    <property name="jsOnBlur">edGallonsJSBlur</property>
    <property name="jsOnKeyUp">edGallonsJSKeyUp</property>
  </object>
  <object class="Label" name="lblNo" >
    <property name="Caption">Card No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">538</property>
    <property name="Name">lblNo</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">87</property>
    <property name="Width">49</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">755</property>
        <property name="Top">0</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
